3.9.80 \(\int \frac {(a+b x) (A+B x)}{(d+e x)^4} \, dx\)

Optimal. Leaf size=75 \[ \frac {-a B e-A b e+2 b B d}{2 e^3 (d+e x)^2}-\frac {(b d-a e) (B d-A e)}{3 e^3 (d+e x)^3}-\frac {b B}{e^3 (d+e x)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {77} \begin {gather*} \frac {-a B e-A b e+2 b B d}{2 e^3 (d+e x)^2}-\frac {(b d-a e) (B d-A e)}{3 e^3 (d+e x)^3}-\frac {b B}{e^3 (d+e x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*x)*(A + B*x))/(d + e*x)^4,x]

[Out]

-((b*d - a*e)*(B*d - A*e))/(3*e^3*(d + e*x)^3) + (2*b*B*d - A*b*e - a*B*e)/(2*e^3*(d + e*x)^2) - (b*B)/(e^3*(d
 + e*x))

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int \frac {(a+b x) (A+B x)}{(d+e x)^4} \, dx &=\int \left (\frac {(-b d+a e) (-B d+A e)}{e^2 (d+e x)^4}+\frac {-2 b B d+A b e+a B e}{e^2 (d+e x)^3}+\frac {b B}{e^2 (d+e x)^2}\right ) \, dx\\ &=-\frac {(b d-a e) (B d-A e)}{3 e^3 (d+e x)^3}+\frac {2 b B d-A b e-a B e}{2 e^3 (d+e x)^2}-\frac {b B}{e^3 (d+e x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 63, normalized size = 0.84 \begin {gather*} -\frac {a e (2 A e+B (d+3 e x))+b \left (A e (d+3 e x)+2 B \left (d^2+3 d e x+3 e^2 x^2\right )\right )}{6 e^3 (d+e x)^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)*(A + B*x))/(d + e*x)^4,x]

[Out]

-1/6*(a*e*(2*A*e + B*(d + 3*e*x)) + b*(A*e*(d + 3*e*x) + 2*B*(d^2 + 3*d*e*x + 3*e^2*x^2)))/(e^3*(d + e*x)^3)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x) (A+B x)}{(d+e x)^4} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((a + b*x)*(A + B*x))/(d + e*x)^4,x]

[Out]

IntegrateAlgebraic[((a + b*x)*(A + B*x))/(d + e*x)^4, x]

________________________________________________________________________________________

fricas [A]  time = 1.32, size = 93, normalized size = 1.24 \begin {gather*} -\frac {6 \, B b e^{2} x^{2} + 2 \, B b d^{2} + 2 \, A a e^{2} + {\left (B a + A b\right )} d e + 3 \, {\left (2 \, B b d e + {\left (B a + A b\right )} e^{2}\right )} x}{6 \, {\left (e^{6} x^{3} + 3 \, d e^{5} x^{2} + 3 \, d^{2} e^{4} x + d^{3} e^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(B*x+A)/(e*x+d)^4,x, algorithm="fricas")

[Out]

-1/6*(6*B*b*e^2*x^2 + 2*B*b*d^2 + 2*A*a*e^2 + (B*a + A*b)*d*e + 3*(2*B*b*d*e + (B*a + A*b)*e^2)*x)/(e^6*x^3 +
3*d*e^5*x^2 + 3*d^2*e^4*x + d^3*e^3)

________________________________________________________________________________________

giac [A]  time = 1.18, size = 69, normalized size = 0.92 \begin {gather*} -\frac {{\left (6 \, B b x^{2} e^{2} + 6 \, B b d x e + 2 \, B b d^{2} + 3 \, B a x e^{2} + 3 \, A b x e^{2} + B a d e + A b d e + 2 \, A a e^{2}\right )} e^{\left (-3\right )}}{6 \, {\left (x e + d\right )}^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(B*x+A)/(e*x+d)^4,x, algorithm="giac")

[Out]

-1/6*(6*B*b*x^2*e^2 + 6*B*b*d*x*e + 2*B*b*d^2 + 3*B*a*x*e^2 + 3*A*b*x*e^2 + B*a*d*e + A*b*d*e + 2*A*a*e^2)*e^(
-3)/(x*e + d)^3

________________________________________________________________________________________

maple [A]  time = 0.01, size = 79, normalized size = 1.05 \begin {gather*} -\frac {B b}{\left (e x +d \right ) e^{3}}-\frac {A a \,e^{2}-A d b e -B d a e +B b \,d^{2}}{3 \left (e x +d \right )^{3} e^{3}}-\frac {A b e +B a e -2 B b d}{2 \left (e x +d \right )^{2} e^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)*(B*x+A)/(e*x+d)^4,x)

[Out]

-b*B/e^3/(e*x+d)-1/3*(A*a*e^2-A*b*d*e-B*a*d*e+B*b*d^2)/e^3/(e*x+d)^3-1/2*(A*b*e+B*a*e-2*B*b*d)/e^3/(e*x+d)^2

________________________________________________________________________________________

maxima [A]  time = 0.50, size = 93, normalized size = 1.24 \begin {gather*} -\frac {6 \, B b e^{2} x^{2} + 2 \, B b d^{2} + 2 \, A a e^{2} + {\left (B a + A b\right )} d e + 3 \, {\left (2 \, B b d e + {\left (B a + A b\right )} e^{2}\right )} x}{6 \, {\left (e^{6} x^{3} + 3 \, d e^{5} x^{2} + 3 \, d^{2} e^{4} x + d^{3} e^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(B*x+A)/(e*x+d)^4,x, algorithm="maxima")

[Out]

-1/6*(6*B*b*e^2*x^2 + 2*B*b*d^2 + 2*A*a*e^2 + (B*a + A*b)*d*e + 3*(2*B*b*d*e + (B*a + A*b)*e^2)*x)/(e^6*x^3 +
3*d*e^5*x^2 + 3*d^2*e^4*x + d^3*e^3)

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 91, normalized size = 1.21 \begin {gather*} -\frac {\frac {2\,A\,a\,e^2+2\,B\,b\,d^2+A\,b\,d\,e+B\,a\,d\,e}{6\,e^3}+\frac {x\,\left (A\,b\,e+B\,a\,e+2\,B\,b\,d\right )}{2\,e^2}+\frac {B\,b\,x^2}{e}}{d^3+3\,d^2\,e\,x+3\,d\,e^2\,x^2+e^3\,x^3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*x)*(a + b*x))/(d + e*x)^4,x)

[Out]

-((2*A*a*e^2 + 2*B*b*d^2 + A*b*d*e + B*a*d*e)/(6*e^3) + (x*(A*b*e + B*a*e + 2*B*b*d))/(2*e^2) + (B*b*x^2)/e)/(
d^3 + e^3*x^3 + 3*d*e^2*x^2 + 3*d^2*e*x)

________________________________________________________________________________________

sympy [A]  time = 1.63, size = 107, normalized size = 1.43 \begin {gather*} \frac {- 2 A a e^{2} - A b d e - B a d e - 2 B b d^{2} - 6 B b e^{2} x^{2} + x \left (- 3 A b e^{2} - 3 B a e^{2} - 6 B b d e\right )}{6 d^{3} e^{3} + 18 d^{2} e^{4} x + 18 d e^{5} x^{2} + 6 e^{6} x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)*(B*x+A)/(e*x+d)**4,x)

[Out]

(-2*A*a*e**2 - A*b*d*e - B*a*d*e - 2*B*b*d**2 - 6*B*b*e**2*x**2 + x*(-3*A*b*e**2 - 3*B*a*e**2 - 6*B*b*d*e))/(6
*d**3*e**3 + 18*d**2*e**4*x + 18*d*e**5*x**2 + 6*e**6*x**3)

________________________________________________________________________________________